home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 2000
/
MacHack 2000.toast
/
pc
/
The Hacks
/
Softshoe
/
Lisa's Mac Parts
/
Files
/
Directories
/
CatInfoLoop.h
< prev
next >
Wrap
Text File
|
2000-06-23
|
603b
|
36 lines
// FileLoop.h
#ifndef CatInfoLoop_h
#define CatInfoLoop_h
#ifndef CatInfo_h
#include "CatInfo.h"
#endif
class CatInfoLoop
{
private:
Directory directory;
uint16 index;
bool unfinished;
CatInfo info;
public:
CatInfoLoop();
CatInfoLoop( Directory );
void Start( Directory );
bool Finished() const { return !unfinished; }
bool Unfinished() const { return unfinished; }
void operator++();
void operator++(int) { operator++(); }
const CatInfo& operator*() const { return info; }
const CatInfo *operator->() const { return &info; }
};
#endif